Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Applet Control Functions /


JMGetFrameViewer

Finds the applet that owns a particular frame.

OSStatus JMGetFrameViewer (
JMFrameRef frame,
JMAppletViewerRef* viewer, 
JMFrameRef* parentFrame);
frame
The frame whose applet you want to determine.
viewer
A pointer to the applet. On return, this parameter is the applet associated with frame.
parentFrame
A pointer to the parent frame. On return, this parameter is the applet's parent frame (that is, the one created for the applet when it was instantiated).
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
In the AWT context associated with the applet, the frame index of the parent frame is 0.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help